package com.cast.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.cast.entity.PageResult;
import com.cast.entity.QueryPageBean;
import com.cast.pojo.CheckItem;
import com.github.pagehelper.Page;
import org.springframework.transaction.annotation.Transactional;


@Transactional
public interface CheckItemService {
    PageResult findByPage(QueryPageBean queryPageBean);

    void addCheckItem(CheckItem checkItem);
    //    按id查询
    CheckItem findById(int id);
    //    按条件删除
    /*

    * */
    void deleteById(int id);
    //    更新
    void updateCheckItem(CheckItem checkItem);
}
